From 45d6752a3cd5b6c4caaf6bb2b404d012a19ba63e Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Mon, 31 Aug 2009 19:41:09 -0400 Subject: [PATCH] Handle geometry change correctly This makes sure that the button is properly prelighted when rotating it underneath the pointer by using keynav on the scale. --- demos/gtk-demo/offscreen_window.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/demos/gtk-demo/offscreen_window.c b/demos/gtk-demo/offscreen_window.c index b07db50e91..0295fe8384 100644 --- a/demos/gtk-demo/offscreen_window.c +++ b/demos/gtk-demo/offscreen_window.c @@ -366,7 +366,7 @@ gtk_rotated_bin_set_angle (GtkRotatedBin *bin, bin->angle = angle; gtk_widget_queue_resize (GTK_WIDGET (bin)); - /* TODO: Really needs to resent pointer events if over the rotated window */ + gdk_window_geometry_changed (bin->offscreen_window); } static void -- 2.30.2